package com.ck.tool.entity;

import lombok.Data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import java.util.List;


@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(propOrder = {
        "name",
        "age",
        "sex",
        "articles"
})
@XmlRootElement(name = "User")
@Data
public class User {

    private String name;

    private String age;

    private String sex;

    private List<Article> articles;
}
